<!--
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script> 
<script type="text/javascript" src="/assets/js/md5.min.js"></script>
<div id="gitalk-container"></div>
-->
<head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.css">
<script src="https://cdn.jsdelivr.net/npm/gitalk@1/dist/gitalk.min.js"></script>

<!-- or -->

<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>     

</head>
<script type="text/javascript">

    var gitalk = new Gitalk({
 
    // gitalk的主要参数
        clientID: '93801c653d5f320abe0e',
        clientSecret: '5db4258ae956f6967df7121297a11fee953be5e9',
        repo: 'https://david-zhang-test.github.io/my-blog/',
        owner: 'david-zhang-test',
        admin: ['david-zhang-test'],
        id: location.pathname,
        distractionFreeMode: false
    });
    gitalk.render('gitalk-container');
</script>
